package com.fashiontextile.common.annotation;

import com.fashiontextile.common.constant.AppConstants;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.annotation.*;
/**
 * Cloud服务启动注解
 * @author brooke_zb
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited

@EnableDiscoveryClient
@EnableFeignClients(basePackages = AppConstants.BASE_PACKAGES)
@SpringBootApplication
public @interface FashionTextileApplication {
}
